package jay;

public class lirun {

	public static void main(String[] args) {
		double shou=0.8,ben=0.5;
		int year=2014,year1=2025;
		while(year<=year1){
			shou=shou*(1+0.2);
			ben=ben*(1+0.14);
			year++;
		}
		System.out.println(shou-ben);

	}

}
